//
//  GoodTeacherTableViewCell.m
//  jiyujiaProgram
//
//  Created by 中良 赵 on 15/12/6.
//  Copyright © 2015年 中良 赵. All rights reserved.
//

#import "GoodTeacherTableViewCell.h"

@implementation GoodTeacherTableViewCell

- (void)awakeFromNib {
    // Initialization code
//    self.contentView.layer.cornerRadius=5.f;
//    self.contentView.layer.masksToBounds=YES;
//    self.contentView.layer.borderColor=[[UIColor lightGrayColor]CGColor];
//    self.contentView.layer.borderWidth=1.f;
    self.imgTeacherPhoto.layer.cornerRadius=CGRectGetWidth(self.imgTeacherPhoto.frame)/2;
    self.imgTeacherPhoto.layer.masksToBounds=YES;
    self.starRate.starImage = ECIMAGENAME(@"star_gray.png");
    self.starRate.starHighlightedImage = ECIMAGENAME(@"star_orange.png");
    self.starRate.maxRating = 5.0;
    self.starRate.horizontalMargin = 12.0;
    self.starRate.editable = NO;
    self.starRate.displayMode = EDStarRatingDisplayFull;
//    self.starRate.rating = 3;
    self.starRate.backgroundColor = [UIColor clearColor];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
